package com.itheima.pinda.feign.service.truck;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pinda.DTO.entity.dto.PdTruckTypeDTO;
import com.itheima.pinda.DTO.entity.pojo.truck.PdTruckType;

import java.util.List;

/**
 * <p>
 * 车辆类型表 服务类
 * </p>
 *
 * @author xy
 * @since 2021-11-11
 */
public interface PdTruckTypeService extends IService<PdTruckType> {

    List<PdTruckTypeDTO> findTruckAll();

    List<PdTruckTypeDTO> findAdvance(String name, String allowableWeight, String allowableVolume);

    boolean addTruck(PdTruckTypeDTO dto);

    boolean updateTruck(PdTruckTypeDTO truck , List<String > goodsTypeId);

    boolean deleteUpd(String id);

    boolean deleteReal(Integer id);

}
